﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ChangePassword.aspx.cs" Inherits="Admin_ChangePassword" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
    Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head id="Head1" runat="server">
    <title>تغییر رمز عبور</title>
    <meta charset="utf-8">
    <link rel="icon" href="../App_Themes/Default/images/favicon.ico" type="image/x-icon">
    <link rel="shortcut icon" href="../App_Themes/Default/images/favicon.ico" type="image/x-icon" />
    <meta name="description" content="Your description">
    <meta name="keywords" content="Your keywords">
    <meta name="author" content="Fatehem Ramezani-fatemeh-ramezani.ir">
    <link href="../App_Themes/Default/css/B_Yekan.css" rel="stylesheet" type="text/css" />
    <link href="../App_Themes/Default/css/bootstrap.css" rel="stylesheet" type="text/css" />
    <link href="../App_Themes/Default/css/responsive.css" rel="stylesheet" type="text/css" />
    <link href="../App_Themes/Default/css/style.css" rel="stylesheet" type="text/css" />
    <link href="../App_Themes/Default/css/touchTouch.css" rel="stylesheet" type="text/css" />
    <link href="../App_Themes/Default/css/kwicks-slider.css" rel="stylesheet" type="text/css" />
    <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300' rel='stylesheet'
        type='text/css"' />
    <script src="../App_Themes/Default/js/jquery.js" type="text/javascript"></script>
    <script src="../App_Themes/Default/js/superfish.js" type="text/javascript"></script>
    <script src="../App_Themes/Default/js/jquery.flexslider-min.js" type="text/javascript"></script>
    <script src="../App_Themes/Default/js/jquery.kwicks-1.5.1.js" type="text/javascript"></script>
    <script src="../App_Themes/Default/js/jquery.easing.1.3.js" type="text/javascript"></script>
    <script src="../App_Themes/Default/js/jquery.cookie.js" type="text/javascript"></script>
    <script src="../App_Themes/Default/js/touchTouch.jquery.js" type="text/javascript"></script>
    <script type="text/javascript">
        if ($(window).width() > 1024) { document.write("<" + "script src='../App_Themes/Default/js/jquery.preloader.js'></" + "script>"); }
    </script>
    <script>
        jQuery(window).load(function () {
            $x = $(window).width();
            if ($x > 1024) {
                jQuery("#content .row").preloader();
            }

            jQuery('.magnifier').touchTouch();
            jQuery('.spinner').animate({ 'opacity': 0 }, 1000, 'easeOutCubic', function () { jQuery(this).css('display', 'none') });
        }); 
				
    </script>
    <!--[if lt IE 8]>
  		<div style='text-align:center'><a href="http://www.microsoft.com/windows/internet-explorer/default.aspx?ocid=ie6_countdown_bannercode"><img src="http://www.theie6countdown.com/img/upgrade.jpg"border="0"alt=""/></a></div>  
 	<![endif]-->
    <!--[if (gt IE 9)|!(IE)]><!-->
    <!--<![endif]-->
    <!--[if lt IE 9]>
    <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <link rel="stylesheet" type="text/css" href="../App_Themes/Default/css/docs.css" />
    <link rel="stylesheet" type="text/css" href="../App_Themes/Default/css/ie.css" />
    <link href='http://fonts.googleapis.com/css?family=Open+Sans:300' rel='stylesheet' type='text/css'>
    <link href='http://fonts.googleapis.com/css?family=Open+Sans:400' rel='stylesheet' type='text/css'>
  <![endif]-->
</head>
<body dir="rtl">
    <form id="Form2" runat="server">
    <div class="spinner">
    </div>
    <!--============================== header =================================-->
    <header>
          <div class="container clearfix" >
                <div class="row">
                      <div class="span12">
                        <div class="navbar navbar_">
                            <div class="container">                          
                                <h1 class="brand brand_">
                                    <a href="../Default.aspx">
                                     <img src="../App_Themes/Default/images/Logo.png" />
                                    </a>
                                </h1>                                                                                     
                                <div class="nav-collapse nav-collapse_  collapse">
                                      <ul class="nav sf-menu">
                                            <li><a id="A12" href="#" runat="server" onclick="if(!confirm('آیا قصد خروج از سیستم را دارید؟')) return false;"
                                                onserverclick="LogoutButton_Click">خروج از سیستم</a></li>
                                            <li><a id="A3" href="~/Admin/Confirm.aspx" runat="server">آزمایش تایید شده</a></li>                                                                                                                              
                                            <li class="sub-menu"><a> کاربری</a>
                                                <ul>
                                                    <li><a id="A10" href="~/Admin/User.aspx" runat="server">کاربران</a></li>
                                                    <li><a id="A11" href="~/Admin/ChangePassword.aspx" runat="server">تغییر رمز</a></li>
                                                </ul>
                                            </li>
                                             <li class="sub-menu"><a> مدیریت</a>
                                                <ul>
                                                    <li><a id="A4" href="~/Admin/Paper.aspx" runat="server">مقاله ها</a></li>
                                                    <li><a id="A5" href="~/Admin/Help.aspx" runat="server">راهنمای پذیرش</a></li>
                                                    <li><a id="A6" href="~/Admin/Gallery.aspx" runat="server">گالری</a></li>
                                                    <li><a id="A7" href="~/Admin/Sentence.aspx" runat="server">جمله روز</a></li>
                                                </ul>
                                             </li>
                                             <li class="active sub-menu"><a>آزمایش</a>
                                                <ul>
                                                    <li ><a id="A8" href="~/Admin/Category.aspx" runat="server">گروه آزمایش</a></li>
                                                    <li><a id="A9" href="~/Admin/CategoryItem.aspx" runat="server">آزمایشات</a></li>
                                                </ul>
                                            </li>                                                                                       
                                      </ul>
                                </div>
                          </div>
                        </div>
                  </div>
               </div>
        </div>
    </header>
    <div class="bg-content">
        <!--============================== content =================================-->
        <div id="content">
            <div class="ic">
            </div>
            <div class="container">
                <div class="row">
                    <article class="span12">
              <h3>آزمایشات</h3>

            </article>
                    <div class="clear">
                    </div>
                    <div align="center">
                        <p>
                            طول رمز عبور جدید باید حداقل
                            <%= Membership.MinRequiredPasswordLength %>
                            حرف باشد.
                        </p>
                        <asp:ChangePassword ID="ChangeUserPassword" runat="server" CancelDestinationPageUrl="~/"
                            EnableViewState="false" RenderOuterTable="false" ChangePasswordFailureText="رمز عبور فعلی غلط است. یا اینکه طول رمز عبور جدید کمتر از حد مجاز است"
                            SuccessPageUrl="ChangePasswordSuccess.aspx" NewPasswordRegularExpression='@\"(?=.{6,})'
                            NewPasswordRegularExpressionErrorMessage="طول رمز عبور باید حداقل 6 کاراکتر باشد.">
                            <ChangePasswordTemplate>
                                <div style="text-align: right; width: 450px;">
                                    <fieldset style="color: #767676">
                                        <legend>اطلاعات کاربری</legend>
                                        <p>
                                            <asp:Label ID="CurrentPasswordLabel" runat="server" SkinID="Lable200">رمز عبور قبلی:</asp:Label>
                                            <asp:TextBox ID="CurrentPassword" runat="server" CssClass="passwordEntry" TextMode="Password"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="CurrentPasswordRequired" runat="server" ControlToValidate="CurrentPassword"
                                                CssClass="failureNotification" ErrorMessage="رمز عبور اجباری است" ToolTip="رمز عبور قبلی اجباری است."
                                                ValidationGroup="ChangeUserPasswordValidationGroup" Display="Dynamic">*</asp:RequiredFieldValidator>
                                        </p>
                                        <p>
                                            <asp:Label ID="NewPasswordLabel" runat="server" SkinID="Lable200">رمز عبور جدید:</asp:Label>
                                            <asp:TextBox ID="NewPassword" runat="server" CssClass="passwordEntry" TextMode="Password"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="NewPasswordRequired" runat="server" ControlToValidate="NewPassword"
                                                CssClass="failureNotification" ErrorMessage="رمز عبور جدید اجباری است" ToolTip="رمز عبور جدید اجباری است."
                                                ValidationGroup="ChangeUserPasswordValidationGroup" Display="Dynamic">*</asp:RequiredFieldValidator>
                                            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ErrorMessage="طول نامجاز"
                                                ControlToValidate="NewPassword" Display="Dynamic" ValidationExpression="^.{6,}$"
                                                ValidationGroup="ChangeUserPasswordValidationGroup"></asp:RegularExpressionValidator>
                                        </p>
                                        <p>
                                            <asp:Label ID="ConfirmNewPasswordLabel" runat="server" SkinID="Lable200"> تکرار رمز عبور جدید:</asp:Label>
                                            <asp:TextBox ID="ConfirmNewPassword" runat="server" CssClass="passwordEntry" TextMode="Password"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="ConfirmNewPasswordRequired" runat="server" ControlToValidate="ConfirmNewPassword"
                                                CssClass="failureNotification" Display="Dynamic" ErrorMessage="تکرار رمز عبور جدید اجباری است"
                                                ToolTip="تکرار رمز عبور جدید اجباری است" ValidationGroup="ChangeUserPasswordValidationGroup">*</asp:RequiredFieldValidator>
                                            <asp:CompareValidator ID="NewPasswordCompare" runat="server" ControlToCompare="NewPassword"
                                                ControlToValidate="ConfirmNewPassword" CssClass="failureNotification" Display="Dynamic"
                                                ErrorMessage="رمز عبور جدید و تکرار آن باید با یکدیگر مطابقت داشته باشند." ValidationGroup="ChangeUserPasswordValidationGroup">*</asp:CompareValidator>
                                        </p>
                                    </fieldset>
                                    <div style="text-align: left">
                                        <asp:ImageButton ID="AcceptImageButton" SkinID="ConfirmButton" CommandName="ChangePassword"
                                            runat="server" ValidationGroup="ChangeUserPasswordValidationGroup" />
                                        <asp:ImageButton ID="CancelImageButton" SkinID="CancelButton" CausesValidation="False"
                                            CommandName="Cancel" runat="server" />
                                    </div>
                                </div>
                                <span class="failureNotification" dir="rtl">
                                    <asp:Literal ID="FailureText" runat="server"></asp:Literal>
                                </span>
                                <asp:ValidationSummary ID="ChangeUserPasswordValidationSummary" runat="server" CssClass="failureNotification"
                                    ValidationGroup="ChangeUserPasswordValidationGroup" />
                            </ChangePasswordTemplate>
                        </asp:ChangePassword>
                    </div>
                </div>
            </div>
        </div>
        <!--============================== footer =================================-->
        <footer>
          <div class="container clearfix" style="text-align:center">  
             <div class="privacy pull-left">Delta System Anahita <a href="http://www.Delta.com/" target="_blank" rel="nofollow">Delta.com</a></div>
          </div>
    </footer>
    </form>
</body>
</html>
